<template>
	<view>
		<my-list></my-list>
		<my-list2></my-list2>
		<listw></listw>
		<lxcalendar></lxcalendar>
		{{mytest}}
	</view>
</template>

<script>
	import MyList from '@/components/mylist/mylist.vue';
	import MyList2 from '@/components/MyList2/MyList2.vue';
	import listw from '@/components/listw/listw.vue';
	import lxcalendar from '@/components/lx-calendar/lx-calendar.vue';
	export default {
		
		// uni.setStorage setStorage  一旦复制 这个一直存在 不会修改和丢失 点击收藏关注
		// globalData 一旦重新的启动程序 globaldata会变成原值
		// 一直打开一直会用,globaldata
		data() {
			return {
				mytest:''
			}
		},
		onLoad() {
			// this.mytest = getApp().globalData.text
			getApp().globalData.text = "我修改了"
		},
		onShow() {
			this.mytest = getApp().globalData.text
		},
		components:{
			"my-list":MyList,
			"my-list2":MyList2,
			"listw":listw,
			"lxcalendar":lxcalendar
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
